package cn.wolfcode.trip.base.domain;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

/**
 * 点赞表
 */
@Data
@JsonIgnoreProperties("handler")
public class Zan extends BaseDomain {
    //状态常量
    public static final int TYPE_TravelZan = 0;//游记文章赞
    public static final int TYPE_TravelCommentZan = 1;//游记文章评论点赞
    public static final int TYPE_StrategyCommentZan = 2;//攻略点评点赞
    public static final int TYPE_StrategyZan = 3;//攻略点赞
    public static final int TYPE_StrategyCommentsZan = 4;//攻略点评评论点赞
    public static final int TYPE_NewsPageZan = 5;//日报点赞

    //点赞对象类型
    private Long type;
    //点赞对象ID
    private Long typeId;
    //用户
    private Long userId;
    //true 赞   false 没有赞
    private Boolean status = false;

}